home *** CD-ROM | disk | FTP | other *** search
- function onEnterFrame()
- {
- if(this.hitTest(_parent.HERO))
- {
- if(defaultCam == true)
- {
- _parent.defaultCamera();
- }
- else
- {
- if(camTarget != undefined)
- {
- _parent.camTarget = camTarget;
- }
- if(camType != undefined)
- {
- _parent.camTypeStore = camType;
- }
- if(camElasticStore != undefined)
- {
- _parent.camElasticStore = camElastic;
- }
- if(camXPos != undefined)
- {
- _parent.camXPos = camXPos;
- }
- if(camYPos != undefined)
- {
- _parent.camYPos = camYPos;
- }
- }
- }
- }
- _visible = false;
-